home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11237 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.3 KB  |  123 lines

  1. <HTML>
  2. <HEAD>
  3. <base target="_parent">
  4. <LINK REL="stylesheet" TYPE="text/css" HREF="%1css/default.css">
  5.  
  6. </HEAD>
  7.  
  8. <BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
  9.  
  10. <script language="Javascript">
  11. //LOCALIZATION STRINGS
  12. var _errNoSelected = "No items have been selected yet.";
  13. var _strDelete = "Delete the selected item(s)?";
  14. </script>
  15.  
  16. <DIV ID="tooltip" STYLE="position:absolute;visibility:hidden;z-index:99;"></DIV>
  17.  
  18. <SCRIPT SRC="%7js/helps.js"></SCRIPT>
  19. <SCRIPT SRC="%8js/tips.js"></SCRIPT>
  20.  
  21. <script language="Javascript">
  22.  
  23. var numItems = %3;
  24.  
  25. function goHome()
  26. {
  27.     parent.location = "%5"; 
  28. }
  29.  
  30. function goNewUser()
  31. {
  32.     parent.location = "%6"; 
  33. }
  34.  
  35. function deleteSelected()
  36. {
  37.     // Delete all of the selected groups
  38.     var items = "";
  39.     var first = true; 
  40.     for(var i=1; i <= numItems; i++)
  41.     {
  42.         if(document.forms.usersTable.elements["check"+i].checked)
  43.         {
  44.  
  45.             if (!first) 
  46.             {
  47.                 items += "+";
  48.             }
  49.             else
  50.             {
  51.                 first = false; 
  52.             }
  53.             items += document.forms.usersTable.elements["check"+i].value; 
  54.         }
  55.     }
  56.  
  57.     if(items != "")
  58.     {
  59.         if(window.confirm(_strDelete))
  60.         {
  61.             document.forms.usersTable.deletedUsersString.value = items;
  62.             document.forms.usersTable.submit();
  63.         }
  64.     }
  65.     else
  66.     {
  67.         alert(_errNoSelected);
  68.     }
  69. }
  70.  
  71. function selectAll()
  72. {
  73.     // Select all of the groups
  74.     for(var i=1; i <= numItems; i++)
  75.     {
  76.         document.forms.usersTable.elements["check"+i].checked = true;
  77.     }
  78. }
  79.  
  80. function unselectAll()
  81. {
  82.     // UnSelect all of the groups
  83.     for(var i=1; i <= numItems; i++)
  84.     {
  85.         document.forms.usersTable.elements["check"+i].checked = false;
  86.     }
  87. }
  88.  
  89. function real_refresh()
  90. {
  91.  
  92.    if (document.forms.formsearch != null)
  93.     DoRefresh();
  94.  
  95.    url = "%11";
  96.    window.location = url;
  97. }
  98.  
  99. </script>
  100.  
  101.  
  102. <!-- search optional -->    
  103. %9
  104. <TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%">
  105. <FORM name="usersTable" action="%4" method=POST>
  106. <tr WIDTH="100%">
  107.     <td class="listHeading" width=20%>  Account Name </td>
  108.     <td class="listHeading" width=25%> Full Name </td>
  109.     <td class="listHeading" width=45%> Description </td>
  110.     <td class="listHeading" width=10% align=middle> Selected </td>
  111. </tr>
  112.  
  113. %2
  114. <input type=hidden name="deletedUsersString">
  115. %10
  116. </FORM>
  117. </table>
  118.  
  119.  
  120.  
  121. </BODY>
  122. </HTML>
  123.